﻿using System.Runtime.Serialization;

namespace UpYourLife.Services.Google
{
    /// <summary>
    /// A set of Google web search results.
    /// </summary>
    [DataContract]
    public class GoogleLocalResultSet
    {
        /// <summary>
        /// The list of search results.
        /// </summary>
        [DataMember(Name = "results")]
        public GoogleLocalResult[] Results
        { get; set; }

        /// <summary>
        /// The cursor record associated with these search results.
        /// </summary>
        [DataMember(Name = "cursor")]
        public GoogleCursor Cursor
        { get; set; }

        [DataMember(Name = "viewport")]
        public GoogleLocalViewPort ViewPort
        { get; set; }
    }
}
